<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="c1" ContentPlaceHolderID="TitleContent" runat="server">
	iMade Data
</asp:Content>

<asp:Content ID="c2" ContentPlaceHolderID="HeaderContent" runat="server">
<style type="text/css">
#links,#input
{
	float: left;
}

#links
{
	width: 200px;
}

#input
{
	width: 500px;
}

#outputwrapper
{
	height: 220px;
	clear: both;
}

#output
{
	width: 700px;
	height: 200px;
	overflow: auto;
}

</style>
</asp:Content>

<asp:Content ID="c3" ContentPlaceHolderID="MainContent" runat="server">
    <script src="../../Scripts/MG.Core.js" type="text/javascript"></script>
    <script src="../../Scripts/MG.Data.js" type="text/javascript"></script>
    <script src="../../Scripts/MG.DataPage.js" type="text/javascript"></script>
    <form action="#" method="post">

    <h2>Data</h2>

    <div id="links">

    <ul>
        <li><a href="/Data/Rss?feedUrl=http://web414.com/rss.xml">Read RSS</a></li>
        <li><a href="/Data/Calendar?feedUrl=http://www.theresgonnabesnacks.com/data/Packers2009.ics">Read iCalendar</a></li>
        <li><a href="/Data/Group?feedUrl=http://www.theresgonnabesnacks.com/data/group.xml">Read Group</a></li>
        <li><a href="/Data/Groups?feedUrl=http://www.theresgonnabesnacks.com/data/mygroups.opml">Read Groups</a></li>
    </ul>
    </div>

    <div id="input">

    <b>RSS Feed URL:</b><br />
    <input type="text" id="rssFeedUrl" style="width: 400px;" value="http://web414.com/rss.xml" />
    <input type="button" id="loadRssButton" value=" Load " />

    <br /><br />

    <b>Calendar Feed URL:</b><br />
    <input type="text" id="calendarFeedUrl" style="width: 400px;" value="http://www.theresgonnabesnacks.com/data/Packers2009.ics" />
    <input type="button" id="loadCalendarButton" value=" Load " />

    <br /><br />

    <b>Group Feed URL:</b><br />
    <input type="text" id="groupFeedUrl" style="width: 400px;" value="http://www.theresgonnabesnacks.com/data/web414.xml" />
    <input type="button" id="loadGroupButton" value=" Load " />

    <br /><br />

    <b>Groups Feed URL:</b><br />
    <input type="text" id="groupsFeedUrl" style="width: 400px;" value="http://www.theresgonnabesnacks.com/data/mygroups.opml" />
    <input type="button" id="loadGroupsButton" value=" Load " />

    </div>

    <div id="outputwrapper">
        <div id="output"></div>
    </div>

    </form>
</asp:Content>
